package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class AdminCarveUpActivityDetailsVO {

    @ApiModelProperty(value = "类型 GUESSING_ACTIVITY:竞猜活动 PARTITION_ACTIVITY:瓜分活动")
    private PrizeDrawActivityTypeEnum type;


    @ApiModelProperty(value = "活动名称")
    private String nameActivity;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "开奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lotteryTime;

    @ApiModelProperty(value = "开奖时间字符串形式,以20230912的形式进行保存")
    private String lotteryTimeVar;

    @ApiModelProperty(value = "排序,由大到小")
    private Integer sort;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "规则图片")
    private String ruleImg;


    @ApiModelProperty(value = "道具id")
    private Long propId;

    @ApiModelProperty(value = "道具名称")
    private String propName;

    @ApiModelProperty(value = "发布状态 0:未发布 1:发布")
    private Integer status;

    @ApiModelProperty(value = "奖池预留(百分比)")
    private BigDecimal prizePoolReserve;

    @ApiModelProperty(value = "初始奖金")
    private BigDecimal initPoolReserve;

    @ApiModelProperty(value = "奖池配置")
    private List<AdminPrizeDrawCctivityPoolDetailsVO> poolDetailsVOList;

    @ApiModelProperty(value = "奖项配置")
    private List<AdminPrizeDrawActivityRewardsDetailsVO> rewardsDetailsVOList;

    @ApiModelProperty("任务配置")
    private List<ActivityTaskVO> activityTasks;
}
